package us.wili.dev.common.util.xinge.v2;

/**
 * author: lefore
 * date: 2018/8/30
 */
public enum XinGeUtilErrorCode {

    ERROR(-100000, "异常"),
    HTTP_STATUS_NOT_OK(-100001, "HTTP STATUS 非 200"),
    CONNECT_OR_SOCKET_TIME_OUT(-100002, "访问腾讯信鸽接口超时");

    private Integer code;
    private String msg;

    XinGeUtilErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
